﻿@using Mulala.Cavan.Domain.MainBoundedContext.DictionaryModule
@model Mulala.Cavan.Presentation.Mvc.ViewModel.ICorporationSearchTagsViewModel
@{
    string URLWithCorporationBusinessExperience = string.Empty;
    string URLWithCorporationType = string.Empty;
    string URLWithTown = string.Empty;
    string URLWithNoTown = string.Format(Model.URLWithNoTown, "gz");
    string URLWithCorporationScale = string.Empty;
    string URLWithCorporationSpeciality = string.Empty;
}
<ul>
    <li>公司类型： <a href="@Model.URLWithNoCorporationBusinessExperience">不限</a>&nbsp;&nbsp;
        @foreach (Tag t in @Model.CorporationTypes)
        {
            URLWithCorporationType = Model.URLWithNoCorporationType + "t" + t.Value;
            <a href="@URLWithCorporationType">@t.Text</a>@Html.Raw("&nbsp; &nbsp;")
        }</li>
    <li>经营年限：<a href="@Model.URLWithNoCorporationType">不限</a>&nbsp;&nbsp;
        @foreach (Tag t in @Model.CorporationBusinessExperience)
        {
            URLWithCorporationBusinessExperience = Model.URLWithNoCorporationBusinessExperience + "e" + t.Value;
            <a href="@URLWithCorporationBusinessExperience">@t.Text</a>@Html.Raw("&nbsp; &nbsp;")
        }</li>
    <li>区&nbsp;&nbsp;&nbsp;&nbsp;域：<a href="@URLWithNoTown">不限</a>&nbsp;&nbsp;
        @foreach (Area a in @Model.Towns)
        {
            URLWithTown = string.Format(Model.URLWithNoTown, a.Spell);
            <a href="@URLWithTown">@a.Name</a>@Html.Raw("&nbsp; &nbsp;")
        }</li>
    <li>家政团队：<a href="@Model.URLWithNoCorporationScale">不限</a>&nbsp;&nbsp;
        @foreach (Tag t in @Model.CorporationScale)
        {
            URLWithCorporationScale = Model.URLWithNoCorporationScale + "s" + t.Value;
            <a href="@URLWithCorporationScale">@t.Text</a>@Html.Raw("&nbsp; &nbsp;")
        }</li>
    <li>擅长服务：<a href="@Model.URLWithNoCorporationSpeciality">不限</a>&nbsp;&nbsp;
        @foreach (Tag t in @Model.CorporationSpeciality)
        {
            URLWithCorporationSpeciality = Model.URLWithNoCorporationSpeciality + "sp" + t.Value;
            <a href="@URLWithCorporationSpeciality">@t.Text</a>@Html.Raw("&nbsp; &nbsp;")
        }</li>
</ul>
